#! /bin/bash

## config
dir=
path=
receiver=http://host:port
## config

rm -rf $dir/*
normae release qa
cd $dir
tar -czf release.tar.gz static template
cd -

curl -F "file=@${dir}/release.tar.gz;"  "${receiver}?path=${path}"